package com.jinsi.service.yrf.iml;
import com.jinsi.mapper.yrf.BackgroundVersionManagementMapper;
import com.jinsi.pojo.VersionManagement;
import com.jinsi.service.yrf.BackgroundVersionManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

@Service
@Transactional
public class BackgroundVersionManagementServiceImpl implements BackgroundVersionManagementService {

    @Autowired
    private BackgroundVersionManagementMapper backgroundVersionManagementMapper;
    @Override
    public List<VersionManagement> getAll(Integer versionNumber, String versionCreator, Date versionCreationTime) {
        return backgroundVersionManagementMapper.getAll(versionNumber,versionCreator,versionCreationTime);
    }

    @Override
    public void backgroundVersionManagementadd(VersionManagement ver) {
        backgroundVersionManagementMapper.backgroundVersionManagementadd(ver);
    }
}
